package com.sz.common.core.constants;

/**
 * Function: TODO: ADD FUNCTION <br>
 * Author: Charles. <br>
 * Date: 2017-05-05 11:20:00.
 */
public interface MessagesCodes {
    //公共操作成功代码 正常的操作返回都是0的errorcode 满足大部分的场景
    String OPERATION_SAVE_SUCCESS = "message.save.success";
    String OPERATION_SAVE_SIMPLE_SUCCESS = "message.save.simple.success";
    String OPERATION_UPDATE_SUCCESS = "message.update.success";
    String OPERATION_SAVE_BASE_SUCCESS = "message.save.base.success";
    String OPERATION_DELETE_SUCCESS = "message.delete.success";
    String OPERATION_SUBMIT_SUCCESS = "message.submit.success";
    String OPERATION_AUDIT_SUCCESS = "message.audit.success";
    String OPERATION_AUDIT_ENABLE_SUCCESS = "message.audit.enable.success";
    String OPERATION_ONLINE_SUCCESS = "message.online.success";
    String OPERATION_OFFLINE_SUCCESS = "message.offline.success";
    String OPERATION_REJECT_SUCCESS = "message.reject.success";
    String OPERATION_SAVEDRAFT_SUCCESS = "message.savedraft.success";
    String OPERATION_OPERATE_SUCCESS = "message.operate.success";
    String FILE_UPLOAD_SUCCESS = "file.upload.success";
    String OPERATION_GENERATIVE_SUCCESS ="message.Generative.success";


    //模块
    String MODULE_ORG = "module.org";
    //模块-用户组
    String MODULE_USER_GROUP = "module.usergroup";
    //模块-用户
    String MODULE_USER = "module.user";
    //模块-角色
    String MODULE_ROLE = "module.role";

    //1.系统管理
    //1.1组织
    String ORG_ASSIGN_ROLES_SUCCESS = "success.model.org.message.assignrole";
    String ORG_DRAG_SUCCESS = "success.model.org.message.drag";
    String ORG_REMOVE_ROLES_SUCCESS = "success.model.org.message.removeroles";
    String ORG_SHIFT_SUCCESS = "success.model.org.message.shift";

    String USERGROUP_ASSIGN_ROLES_SUCCESS = "success.model.usergroup.message.assignrole";
    String USERGROUP_ASSIGN_USERS_SUCCESS = "success.model.usergroup.message.assignuser";
    String USERGROUP_DRAG_SUCCESS = "success.model.usergroup.message.drag";
    String USERGROUP_REMOVE_ROLES_SUCCESS = "success.model.usergroup.message.removeroles";
    String USERGROUP_REMOVE_USERS_SUCCESS = "success.model.usergroup.message.removeusers";
    String USERGROUP_SHIFT_SUCCESS = "success.model.usergroup.message.shift";
    //1.2角色
    String ROLE_ASSIGN_MEMBERS_SUCCESS = "success.model.role.message.assignmembers";
    String ROLE_REMOVE_MEMBERS_SUCCESS = "success.model.role.message.removemembers";
    String ROLE_DRAG_SUCCESS = "success.model.role.message.drag";
    String ROLE_SAVE_PERMISSION_SUCCESS = "success.model.role.message.savepermission";
    //1.3用户
    String USER_ASSIGN_ROLES_SUCCESS = "success.model.user.message.assignroles";
    String USER_LOCK_SUCCESS = "success.model.user.message.lock";
    String USER_UNLOCK_SUCCESS = "success.model.user.message.unlock";
    String USER_RESET_PASSWORD_SUCCESS = "success.model.user.message.resetpasswd";
    String USER_MOVE_ORG_SUCCESS = "success.model.user.message.moveorg";
    String USER_ADDNEW_SUCCESS = "success.model.user.message.addnew";


    //1.4授权
    String SUCCESS_AUTH_ROLE_SAVE_MESSAGE = "success.auth.role.save.message";

    //1.5登录
    String SUCCESSFUL_USER_LOGIN = "login.successful";
    String SUCCESSFUL_VALIDATE_CODE = "validate.code.successful";

    //财务，账单
    String OPERATION_PAID_SUCCESS = "message.paid.success";
    String OPERATION_ADJUSTMENT_SUCCESS = "message.adjustment.success";
    String OPERATION_CHARGEOFF_SUCCESS = "message.chargeoff.success";
    String OPERATION_TASK_START_SUCCESS = "message.task.start.success";

    //贸易订单
    String OPERATION_ORDER_SUBMIT_SUCCESS = "message.order.submit.success";
    String OPERATION_CONFIRMATION_SUCCESS = "message.confirmation.success";
    String OPERATION_DERLIVERY_SUCCESS = "message.delivery.success";
    String OPERATION_ORDER_ACCEPT_SUCCESS = "message.order.Accept.success";
}
